import unittest
from baidu import Baidu

# suite = unittest.TestSuite()
# suite.addTest(Baidu('test_baidu2'))
# suite.addTest(Baidu('test_baidu1'))


# suite=unittest.TestLoader().loadTestsFromTestCase(Baidu)


suite=unittest.defaultTestLoader.discover(start_dir='./',pattern='baidu*.py')


runner = unittest.TextTestRunner()
runner.run(suite)
